<div class="login" [style.background-image]="'url(' + backgroundImage +')'">
  <form nz-form [formGroup]="validateForm" class="login-form" (ngSubmit)="submitForm()">
    <div nz-form-item class="login-form-title">{{loginTitle}}</div>

    <nz-form-item>
      <nz-form-control nzErrorTip="用户不能为空">
        <nz-input-group nzPrefixIcon="user">
          <input type="text" nz-input formControlName="userName" placeholder="用户" nzSize="'large'"/>
        </nz-input-group>
      </nz-form-control>
    </nz-form-item>

    <nz-form-item>
      <nz-form-control nzErrorTip="密码不能为空">
        <nz-input-group nzPrefixIcon="lock">
          <input type="password" nz-input formControlName="password" placeholder="密码"/>
        </nz-input-group>
      </nz-form-control>
    </nz-form-item>


    <div nz-form-item>
      <div nz-form-control>
        <button nz-button class="login-form-button" [nzType]="'primary'" [nzSize]="'large'" [disabled]="_logining">登录
        </button>
      </div>
    </div>
  </form>
</div>
